package la.iok.hzsvn.lewin.movie.shopmovie.model;

import java.util.List;
import java.util.Objects;
import java.util.Set;

public class PlayerFeesParam {
    private Set<Long> players;
    private List<FeesParam> fees;

    public Set<Long> getPlayers() {
        return players;
    }

    public void setPlayers(Set<Long> players) {
        this.players = players;
    }

    public List<FeesParam> getFees() {
        return fees;
    }

    public void setFees(List<FeesParam> fees) {
        this.fees = fees;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof PlayerFeesParam)) return false;
        PlayerFeesParam param = (PlayerFeesParam) o;
        return Objects.equals(players, param.players) && Objects.equals(fees, param.fees);
    }

    @Override
    public int hashCode() {
        return Objects.hash(players, fees);
    }
}
